﻿using System;
using System.Collections;
using System.Linq;

namespace Gp.Scripts.Core {
    public abstract class ReactionArgs {
        public Func<IEnumerator> CallBack;
        public IEnumerator OnCallBack() {
            return CallBack != null ? CallBack() : Enumerable.Empty<int>().GetEnumerator();
        }
    }
}